{block content}

<p><a href="{plink default}" class="button ui-state-default ui-corner-all" title="{!_'Back to roles list'}"><span class="ui-icon ui-icon-carat-1-w floatLeft">&nbsp;</span>&nbsp;{!_"Back to roles list"}</a></p>
<p><a href="{link Users:}" class="button ui-state-default ui-corner-all" title="{!_'Back to users list'}"><span class="ui-icon ui-icon-carat-1-w floatLeft">&nbsp;</span>&nbsp;{!_"Back to users list"}</a></p>

<a name="topList"></a>
<h1>{$title} "{$role}"</h1>

{if count($access)}
    <table>
        <tr>
            <th>{!_"Resources"}</th>
            <th>{!_"Privileges"}</th>
            <th>{!_"Access"}</th>
        </tr>
    {foreach $access as $ac}
        <tr>
            <td>{$ac['resource']}</td>
            <td>{$ac['privilege']}</td>
            <td class="center">
                {if $ac["allowed"]}
                <img src="{$basePath}/images/kernel/acl/true.gif" width="20" height="20" alt="{!_'Allowed'}" title="{!_'Allowed'}" />
                {else}
                <img src="{$basePath}/images/kernel/acl/false.gif" width="20" height="20" alt="{!_'Denied'}" title="{!_'Denied'}" />
                {/if}
            </td>
        </tr>
    {/foreach}
    </table>
    <p><a href="#topList" class="button ui-state-default ui-corner-all"><span class="ui-icon ui-icon-triangle-1-n floatLeft">&nbsp;</span>&nbsp;{!_"Top"}</a></p>
{else}
    {!_"This role has no access list."}
{/if}